//
//  HCHomeWkWebView.h
//  HappyChildren
//
//  Created by WillyZhao on 2017/2/27.
//  Copyright © 2017年 WillyZhao. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <WebKit/WKWebView.h>
#import <WebKit/WebKit.h>

@protocol HCHomeWkWebViewHeight <NSObject>

-(void)hc_homeWkHeight:(CGFloat)height;

-(void)hc_homeWKClicked:(NSString *)url;

@end

@interface HCHomeWkWebView : UIView  <WKNavigationDelegate,WKUIDelegate,WKScriptMessageHandler>

@property (nonatomic, strong) WKWebView *wkWebView;

@property (nonatomic)NSMutableArray* snapShotsArray;

-(void)wkWebViewLoadString:(NSString *)url;

@property (nonatomic ,assign) BOOL clicked;

@property (nonatomic, assign) id<HCHomeWkWebViewHeight> delegate;

@end
